package com.chendongyang.www.po;//保存用户要评论的充电站和具体评论内容；

public class apprise1 {
    private String charges;
    private String comment;

    @Override
    public String toString() {
        return
                "充电站：" + charges +
                "  评论: " + comment;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof apprise1)) return false;

        apprise1 apprise = (apprise1) o;

        if (charges != null ? !charges.equals(apprise.charges) : apprise.charges != null) return false;
        return comment != null ? comment.equals(apprise.comment) : apprise.comment == null;
    }

    @Override
    public int hashCode() {
        int result = charges != null ? charges.hashCode() : 0;
        result = 31 * result + (comment != null ? comment.hashCode() : 0);
        return result;
    }

    public String getCharges() {
        return charges;
    }

    public void setCharges(String charges) {
        this.charges = charges;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public apprise1() {
    }

    public apprise1(String charges, String comment) {
        this.charges = charges;
        this.comment = comment;
    }
}
